<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/taglib.jsp" %>

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="微社区,Q生活" name="keywords"/>
<meta content="微社区,Q生活" name="description"/>
<title>微社区|Q生活</title>
<link rel="stylesheet" href="${ctx }/static/css/Master.css"/>
<script src="${ctx }/static/js/jquery-1.9.0.min.js"></script>
<%--弹出框组件 --%>
<script src="${ctx}/static/plugins/layer/layer.js"></script>
<%-- 基础js,所有页面都需要引入此js,依赖layer.js --%>
<script src="${ctx}/static/js/common/base.js"></script>

<script type="text/javascript">
$(function(){
	// 睡眠是为了让图片onerror回调函数执行完
	setTimeout(function(){
		// 全屏查看图片
		parent.showPhotos($(".layer-photos"));
	}, 500);
});
</script>
</head>

<body>

<section class="boxRight">
	<div class="OrgTit">${op }</div>
	<div class="context">
		<div class="add_firstmenu">
			<c:if test="${not empty feedback.fileList}">
			<dl>
				<dt>
					图片：
				</dt>
				<dd>
					<div id="layer-photos" class="layer-photos">
					    <c:forEach items="${feedback.fileList}" var="file" varStatus="status">
						<img layer-pid="${file.filId }" layer-src="${fUrl }${file.filSerPath}" 
							alt="${file.filSerName }" src="${fUrl }${file.filSerPath}" 
							width="110px;" height="110px;" title="点击全屏查看" style="margin: 0px 1px 10px 0px;cursor: pointer;" 
							onerror="this.src='${ctx }/static/images/default4.jpg';this.setAttribute('layer-src','${ctx }/static/images/default4.jpg');this.onerror=null;"/>
						</c:forEach>
					</div>
				</dd>
			</dl>
			</c:if>
			<dl>
				<dt>
					标题：
				</dt>
				<dd >
					${feedback.feeTitle}
				</dd>
			</dl>
			<dl>
				<dt>
					内容：
				</dt>
				<dd >
					${feedback.feeInfo}
				</dd>
			</dl>
			<dl>
				<dt>
					反馈类型：
				</dt>
				<dd >
					${diy:keyToValue(feedback.feeTheme,'FEE_THEME')}
				</dd>
			</dl>
			<dl>
				<dt>
					反馈人：
				</dt>
				<dd >
					${feedback.user.useRealName }
				</dd>
			</dl>
			<dl>
				<dt>
					手机号码：
				</dt>
				<dd >
					${feedback.user.useMobilePhone }
				</dd>
			</dl>
			<dl>
				<dt>
					角色：
				</dt>
				<dd >
					${feedback.user.rolNames}
				</dd>
			</dl>
			<dl>
				<dt>
					所属机构：
				</dt>
				<dd >
					${feedback.user.org.orgName }
				</dd>
			</dl>
			<dl>
				<dt>
					反馈时间：
				</dt>
				<dd >
					<fmt:formatDate value="${feedback.insertDate}" pattern="yyyy-MM-dd HH:mm:ss" />
				</dd>
			</dl>
			
			<div class="combtn"><a href="javascript:void(0);" onclick="history.back();">返回</a></div>
		</div>
	</div>

</section>
</body>
</html>
